﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="articlelist3.ascx.cs" Inherits="Com.Web.coffinegurunaru.manager.board.articlelist3" %>
<%@ Import Namespace="Com.Library.DB.Board" %>

						<table cellpadding="2" cellspacing="1" border="0" style="background-color:Olive">
						<thead>
						<tr style="height:30px;background-color:#dddddd;">
							<td style="width:100px; text-align:center">번호</td>
							<td style="width:500px; text-align:center">제목</td>
							<td style="width:100px; text-align:center">등록일</td>
							<td style="width:100px; text-align:center"> - </td>
						</tr>
						</thead>
						<tbody>
						
<%foreach(ArticleEntity item in ArticleList ) { %>
				<tr style="background-color:#ffffff;" data="{'ArticleSN':'<%=item.n4ArticleSN %>'}">
                    <td style="text-align:center"><%=item.n4ArticleSN %></td>
                    <td style="text-align:left"><a href="#" class="m_btnInfo"><%=item.strTitle %></a></td>
                    <td style="text-align:center"><%=item.dtCreatedDate.ToString("yyyy-MM-dd") %></td>
                    <td style="text-align:center"><input type="button" value="수정"  class="m_btnInfo"/>&nbsp;<input type="button" value="삭제"  class="m_btnRemove"/></td>
                </tr>
                <tr class="m_ArticleInfo_<%=item.n4ArticleSN %> m_ArticleInfo" data="{'ArticleSN':'<%=item.n4ArticleSN %>'}" style="display:none;">
					<td colspan="4" style="background-color:#ffffff">
						<table cellpadding="0" cellspacing="1" border="0" style="background-color:Olive">
						<tr>
							<td style="width:100px; background-color:#eeeeee; text-align:center;">제목</td>
							<td style="width:500px; background-color:#ffffff; text-align:left;"><input type="text" class="m_Title" size="70" value="<%=item.strTitle.HTMLEncode() %>"/></td>
						</tr>
						<tr>
							<td style="background-color:#eeeeee; text-align:center;">내용</td>
							<td style="background-color:#ffffff; text-align:left;"><textarea class="m_Content" rows="5" cols="80"><%=item.strContent %></textarea></td>
						</tr>
						<tr>
							<td colspan="2" style="background-color:#ffffff; text-align:center;"><input type="button" value="변경" class="m_btnModify"/></td>
						</tr>
						</table>
					</td>
                </tr>
<% } %>


						</tbody>
						</table>
